Skip to content

fix(app): prevent session store races#562

Open
JaiDodson wants to merge 1 commit intodifferent-ai:devfrom
JaiDodson:fix-windows-session-issues
Open

fix(app): prevent session store races#562
JaiDodson wants to merge 1 commit intodifferent-ai:devfrom
JaiDodson:fix-windows-session-issues

Conversation

@JaiDodson
Copy link

@JaiDodson JaiDodson commented Feb 14, 2026

  • Replace loadSessions/refreshSidebarWorkspaceSessions with local store removal in deleteSessionById to prevent reconcile() from wiping unrelated sessions
  • Remove loadSessionsWithReady calls from sendPrompt to eliminate the same race condition on message send
  • Inject new sessions directly into store and sidebar in createSessionAndOpen instead of relying on server round-trip
  • Make applySessionAgent auto-create a session when none is selected
  • Add shell:true to bun spawns in prepare-sidecar.mjs for Windows

fixes #537

…nt switch

- Replace loadSessions/refreshSidebarWorkspaceSessions with local store
  removal in deleteSessionById to prevent reconcile() from wiping
  unrelated sessions
- Remove loadSessionsWithReady calls from sendPrompt to eliminate the
  same race condition on message send
- Inject new sessions directly into store and sidebar in
  createSessionAndOpen instead of relying on server round-trip
- Make applySessionAgent auto-create a session when none is selected
- Add shell:true to bun spawns in prepare-sidecar.mjs for Windows
@vercel
Copy link

vercel bot commented Feb 14, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
openwork-software Ready Ready Preview, Comment Feb 14, 2026 1:22am

@github-actions
Copy link
Contributor

The following comment was made by an LLM, it may be inaccurate:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Windows 11 is completely unusable.

1 participant